package com.wyh.domain.dto.groupOne.projectaboutdto;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(value = "resourcetype对象", description = "资源业态实体")
@TableName("resourcetype")
public class ResourceTypeDTO {
    @NotNull(message = "[id]不能为空")
    @ApiModelProperty("id")
    private Integer id;
    @ApiModelProperty("类型名称")
    private String name ;
    @ApiModelProperty("是否计费")
    private Integer ischarging  ;
}
